<%@include file="base/include.jsp"%>
<!DOCTYPE html>
<html lang="en">
<head>
<title><tiles:getAsString name="title" /></title>
<meta charset="utf-8">
<link rel="icon" type="image/png" href="<c:url value='/web-resources/images/favicon.ico'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/css/bootstrap.css'/>">
<link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/css/docs.css'/>">
<style type="text/css">
	body {
		padding-top: 60px;
	}
</style>
<link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/css/bootstrap-responsive.css'/>">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/css/custom.css'/>">
<script type="text/javascript" 	src="<c:url value='/web-resources/js/custom/global.js'/>"></script>

<script type="text/javascript" 	src="<c:url value='/web-resources/js/plugin/jquery/jquery.js'/>"></script>
<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/jquery/jquery.cookie.js'/>"></script>
<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/jquery/jquery.hotkeys.js'/>"></script>
<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/jquery/jquery.jstree.js'/>"></script>
<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/jquery/jquery.highlight.js'/>"></script>
<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/jquery/jquery.scrollTo-min.js'/>"></script>

<link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/js/plugin/jquery/ui-1.8.23/css/flick/jquery-ui-1.8.23.custom.css'/>"/>
<link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/js/plugin/jquery/ui-1.8.23/css/ui.spinner.css'/>"/>
<script type="text/javascript" 	src="<c:url value='/web-resources/js/plugin/jquery/ui-1.8.23/js/jquery-ui-1.8.23.custom.min.js'/>"></script>
<script type="text/javascript" 	src="<c:url value='/web-resources/js/plugin/jquery/ui-1.8.23/js/jquery-ui-timepicker-addon.js'/>"></script>
<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/jquery/ui-1.8.23/js/ui.spinner.js'/>"></script>

<script type="text/javascript"  src="<c:url value='/web-resources/js/plugin/bootstrap.js'/>"></script>

<%-- <script type="text/javascript" 	src="<c:url value='/web-resources/js/ckeditor/ckeditor.js'/>"></script> --%>
<%-- <script type="text/javascript" 	src="<c:url value='/web-resources/js/validation/livevalidation_standalone.js'/>"></script> --%>

<%-- <script type="text/javascript" src="<c:url value='/web-resources/js/timer/jquery.countdown.js'/>"></script> --%>
<%-- <script type="text/javascript" src="<c:url value='/web-resources/js/timer/initTimer.js'/>"></script> --%>

<script type="text/javascript" src="<c:url value='/web-resources/js/admin/user/func.js'/>"></script>
<script type="text/javascript" src="<c:url value='/web-resources/js/admin/group/func.js'/>"></script>

<%-- <link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/css/comments-tree.css'/>"/> --%>
<%-- <script type="text/javascript" 	src="<c:url value='/web-resources/js/comments/comments-tree.js'/>"></script> --%>

<%-- <script type="text/javascript" 	src="<c:url value='/web-resources/js/message/func.js'/>"></script> --%>

<%-- <link rel="stylesheet" type="text/css" href="<c:url value='/web-resources/js/star-rating/jquery.rating.css'/>"/> --%>
<%-- <script type="text/javascript" 	src="<c:url value='/web-resources/js/star-rating/jquery.rating.js'/>"></script> --%>

<script type="text/javascript" 	src="<c:url value='/web-resources/js/plugin/jquery/jquery.blockUI.js'/>"></script>
</head>

<body>
	<!-- feedback -->
	<div id="FBModal" class="modal hide fade in" style="display: none;">
	  <div class="modal-header">
	    <button class="close" data-dismiss="modal">x</button>
	    <h3>Leave your feedback</h3>
	  </div>
	  <div class="modal-body">
	    	<textarea id="fbtext" style="width:450px;" ></textarea>
	  </div>
	  <div class="modal-footer">
	    <a href="#" class="btn" data-dismiss="modal">Close</a>
	    <a href="#" class="btn btn-primary" onclick="sendFeedback();">Send feedback</a>
	  </div>
	</div>
	<a class="feedback" data-toggle="modal" href="#FBModal">
		<img src="<c:url value="/web-resources/images/feedback.png" />" />
	</a>
	<!-- feedback -->
	
	<!-- header -->
	<div class="navbar navbar-inverse navbar-fixed-top">
		<div class="navbar-inner">
			<div class="container-fluid">
				<!-- Project name -->
				<ul class="nav">
					<li id="homeMenu">
						<a id="homePage" class="brand pull-left" href="<c:url value='/'/>">Tote</a>
					</li>
				</ul>

				<!-- collapse button -->
				<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
					<span class="icon-bar"></span>
				</a>

				<tiles:insertAttribute name="header"/>
			</div>
		</div>
	</div>
	<!-- header -->

	<!-- client area -->
	<div class="container-fluid">

		<!-- main area -->
		<div class="row-fluid">

			<!-- left panel - sidebar -->
			<div class="span3">
				<tiles:insertAttribute name="sidebar"/>
			</div>

			<!-- right panel - action menu, notification bar, log, content etc. -->
			<div class="span9">
				<div class="row-fluid">
					<tiles:insertAttribute name="actionMenu"/>
				</div>

				<div class="row-fluid">
					<tiles:insertAttribute name="notificationBar"/>
				</div>

				<div class="row-fluid" id="errorBar">
					<tiles:insertAttribute name="errorBar"/>
				</div>

				<div class="row-fluid">
					<tiles:insertAttribute name="log"/>
				</div>

				<div class="row-fluid">
					<div class="well container-fluid">
						<tiles:insertAttribute name="content"/>
					</div>
				</div>
				
				<div class="row-fluid">
					<tiles:insertAttribute name="bottomActionMenu"/>
				</div>
			</div>

		</div>
		<!-- main area -->

		<footer class="footer">
			<tiles:insertAttribute name="footer"/>
		</footer>
	</div>
	<!-- client area -->

</body>
</html>